package adressbuch;

public class Eintrag {
	// Felder
	private Name name;
	private Adresse adr1;
	private Adresse adr2;
	private Email email1;
	private Email email2;
	private Telefon tel1;
	private Telefon tel2;
	
	public Eintrag(Name name, Adresse adr1, Adresse adr2, Email email1,
			Email email2, Telefon tel1, Telefon tel2) {
		super();
		this.name = name;
		this.adr1 = adr1;
		this.adr2 = adr2;
		this.email1 = email1;
		this.email2 = email2;
		this.tel1 = tel1;
		this.tel2 = tel2;
	}
	// Getter, Setter	
	public Name getName() {
		return name;
	}
	public void setName(Name name) {
		this.name = name;
	}
	public Adresse getAdr1() {
		return adr1;
	}
	public void setAdr1(Adresse adr1) {
		this.adr1 = adr1;
	}
	public Adresse getAdr2() {
		return adr2;
	}
	public void setAdr2(Adresse adr2) {
		this.adr2 = adr2;
	}
	public Email getEmail1() {
		return email1;
	}
	public void setEmail1(Email email1) {
		this.email1 = email1;
	}
	public Email getEmail2() {
		return email2;
	}
	public void setEmail2(Email email2) {
		this.email2 = email2;
	}
	public Telefon getTel1() {
		return tel1;
	}
	public void setTel1(Telefon tel1) {
		this.tel1 = tel1;
	}
	public Telefon getTel2() {
		return tel2;
	}
	public void setTel2(Telefon tel2) {
		this.tel2 = tel2;
	}
}
